package academic.ui.client.presenter;

import academic.ui.client.place.Tokens;

import com.allen_sauer.gwt.log.client.Log;
import com.google.inject.Inject;
import com.gwtplatform.mvp.client.EventBus;
import com.gwtplatform.mvp.client.Presenter;
import com.gwtplatform.mvp.client.View;
import com.gwtplatform.mvp.client.annotations.NameToken;
import com.gwtplatform.mvp.client.annotations.ProxyStandard;
import com.gwtplatform.mvp.client.proxy.ProxyPlace;
import com.gwtplatform.mvp.client.proxy.RevealContentEvent;

/**
 * place holder for B
 * @author dsimons
 *
 */
public class PrimaryPlacePresenter extends 
Presenter<PrimaryPlacePresenter.MyView,PrimaryPlacePresenter.MyProxy>{

	@Inject
	public PrimaryPlacePresenter(EventBus eventBus, MyView view, MyProxy proxy) {
		super(eventBus, view, proxy);
	}

	@ProxyStandard
	@NameToken(Tokens.primary)
	public interface MyProxy extends ProxyPlace<PrimaryPlacePresenter>  {}

	public interface MyView extends View {
		
	}

	@Override
	protected void revealInParent() {
		RevealContentEvent.fire(this, GamePresenter.slot, this);
		Log.debug("PrimaryPlacePresenter revealInParent");
	}
	
	@Override
	public void onReveal() {
		super.onReveal();
		Log.debug("PrimaryPlacePresenter onReveal");
	}
	@Override
	public void onReset() {
		super.onReset();
		Log.debug("PrimaryPlacePresenter onReset");
	}
	@Override
	public void onBind() {
		super.onBind();
		Log.debug("PrimaryPlacePresenter onBind");
	}
}
